package mongodb.general.operator.mongoHelper.log.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum LogTypeEnum {
    Query(1, "Query"),
    Delete(2,"Delete"),
//    Update(3,"Update"),
    Count(0, "Count");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String desc;
}
